package com.crm.model.vo.returnMoney;

import com.crm.model.entity.returnMoney.ReturnMoneyExamine;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @Author xielinqi
 * @Date 3:53 下午 2021/12/2
 */
@Data
public class ReturnMoneyExamineVO extends ReturnMoneyExamine {
    public ReturnMoneyExamineVO(String examineId, String flowId, String transactionNo, String productOrderId, String finishOrderProductNum, String returnMoneyId, String applyPeopleId, Date applyTime, Short csExamineState, Short financeExamineState, Short examineState, String csExaminePeopleId, Date csExamineTime, String csExamineRemark, String csProveFileId, String csUploadPeopleId, Date csUploadTime, String financeExaminePeopleId, Date financeExamineTime, String financeExamineRemark, String financeProveFileId, String financeUploadPeopleId, Date financeUploadTime, String lastRecordId, String companyId, Short deleteStatus) {
        super(examineId, flowId, transactionNo, productOrderId, finishOrderProductNum, returnMoneyId, applyPeopleId, applyTime, csExamineState, financeExamineState, examineState, csExaminePeopleId, csExamineTime, csExamineRemark, csProveFileId, csUploadPeopleId, csUploadTime, financeExaminePeopleId, financeExamineTime, financeExamineRemark, financeProveFileId, financeUploadPeopleId, financeUploadTime, lastRecordId, companyId, deleteStatus);
        this.applyTime = applyTime;
        this.csExamineTime = csExamineTime;
        this.financeExamineTime = financeExamineTime;
        this.csUploadTime = csUploadTime;
        this.financeUploadTime = financeUploadTime;
    }

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date applyTime;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date csExamineTime;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date financeExamineTime;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date csUploadTime;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date financeUploadTime;

    private String contractId;  //合同id
    private String contractType;  //合同类型--1:非会员合同;2:会员新单合同;3:活动合同;4:会员续费合同5.兑换合同6.单品合同;7.会员单次
    private String orderNumber;  //订单编号
    private String applyPeopleName;  //申请人
    private String flowCustomerName;  //流水客户名称
    private String orderCustomerName;  //订单客户名称
    private String flowCreatePeopleName;  //当前流水客户名称所有人
    private String orderCreatePeopleName;  //当前订单所有人
    private String csProveFile;  //客服证明材料
    private String financeProveFile;  //账务证明材料
    private BigDecimal arriveMoney;  //流水金额
    private String orderCompanyName;  //订单所属公司
}
